<%@ page language="java" import="java.util.*" contentType="text/html"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>用户详情</title>
<script type="text/javascript" src='<c:url value="/js/boot.js"></c:url>'></script>
<link rel="stylesheet" type="text/css"
	href='<c:url value="/share/styles.css"></c:url>' />
<script type="text/javascript">
	
</script>
<style type="text/css">
html, body {
	height: 100%;
	width: 100%;
	border: 0;
	overflow: hidden;
	background-origin: padding-box;
	background-clip: border-box;
}

html, body {
	margin: 0;
	padding: 0;
	border: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

html body .searchbox .mini-buttonedit-icon {
	background: url('<c:url value="/share/img/magnifier-zoom.png"></c:url>')
		no-repeat 5% 5%; .
	wy_top {background: #D94948;
	color: #fff;
	height: 46px;
	line-height: 46px;
	position: fixed;
	top: 0;
	z-index: 5;
	width: 100%;
	font-family: 微软雅黑;
	padding-left: 5%;
}

.touxiang {
	width: 100%;
}

.touxiang img {
	width: 100px;
	height: 100px;
	padding-top: 50px;
}

.main {
	width: 100%;
	margin-top: 0%;
}

.main span {
	width: 30%;
	float: left;
	height: 32px;
	line-height: 32px;
	text-align: center;
	margin-top: 5%;
}

.main input {
	width: 65%;
	float: left;
	height: 32px;
	line-height: 32px;
	margin-top: 5%;
	outline: none;
}

.main textarea {
	width: 75%;
	float: left;
	margin-top: 5%;
	outline: none;
}

.laywerDetails {
	width: 800px;
	margin: auto;
	border: 1px solid #555555;
}
}
</style>
</head>

<body>
	<div class="laywerDetails">
		<%-- <div class="touxiang">
			<center>
				<img src="img/hushi.jpg" />
			</center>
		</div> --%>
		<div class="main">
			<form id="dataForm">
				<div class="formContent">
					<!-- <input id="ContractNo" name="ContractNo" class="mini-hidden"></input>
					<input id="PrepareDeptNo" name="PrepareDeptNo" class="mini-hidden"></input> -->
					<table class="formContentTable">
						<tr>
							<th class="fieldTitle"></th>
							<th class="fieldContent"></th>
							<th class="fieldTitle"></th>
							<th class="fieldContent"></th>
						</tr>
						<tr>
							<td class="fieldTitle">用户名:</td>
							<td class="fieldContent"><input id="USERNAME"
								enabled="false" name="USERNAME" class="mini-textbox"
								style="width: 100%;" value="${USERNAME}" /></td>
						
							<td class="fieldTitle">联系电话：</td>
							<td class="fieldContent"><input id="PHONE"
								enabled="false" name="PHONE" class="mini-textbox"
								style="width: 100%;" value="${PHONE}" /></td>
								</tr>
						<tr>
							<td class="fieldTitle">昵称：</td>
							<td class="fieldContent"><input id="NICKNAME"
								enabled="false" name="NICKNAME" class="mini-textbox"
								style="width: 100%;" value="${NICKNAME}" /></td>
							<td class="fieldTitle">性别：</td>
							<td class="fieldContent"><input id="SEX"
								enabled="false" name="SEX" class="mini-textbox"
								style="width: 100%;" value="${SEX}" /></td>
						</tr>
						<tr>
							<td class="fieldTitle">银行：</td>
							<td class="fieldContent"><input id="BANKNAME"
								enabled="false" name="BANKNAME" class="mini-textbox"
								style="width: 100%;" value="${BANKNAME}" /></td>
							<td class="fieldTitle">开户行：</td>
							<td class="fieldContent"><input id="ACCOUNTBANK"
								enabled="false" name="ACCOUNTBANK" class="mini-textbox"
								style="width: 100%;" value="${ACCOUNTBANK}" /></td>
						</tr>
						<tr>
							<td class="fieldTitle">账户名：</td>
							<td class="fieldContent"><input id="ACCOUNT"
								enabled="false" name="ACCOUNT" class="mini-textbox"
								style="width: 100%;" value="${ACCOUNT}" /></td>
							<td class="fieldTitle">身份证号：</td>
							<td class="fieldContent"><input id="IDCARD"
								enabled="false" name="IDCARD" class="mini-textbox"
								style="width: 100%;" value="${IDCARD}" /></td>
						</tr>
						<tr>
							<td class="fieldTitle">地区：</td>
							<td class="fieldContent"><input id="AREA"
								enabled="false" name="AREA" class="mini-textbox"
								style="width: 100%;" value="${AREA}" /></td>
							<td class="fieldTitle">注册时间：</td>
							<td class="fieldContent"><input id="REGISTTIME"
								enabled="false" name="REGISTTIME" class="mini-datepicker"
								style="width: 100%;" value="${REGISTTIME}" /></td>
						</tr>
					</table>
				</div>
			</form>
		</div>
	</div>

	<script type="text/javascript">
		mini.parse();
		var rootPath = '${rootPath}';
		var phoneNo = '${phoneNo}';
		var form = new mini.Form("dataForm");
		$(function(){
			SetFormData();;
		});
		function SetFormData() {
			var messageid = mini.loading("档案读取中...", "Loading");
			var urlBase = '<c:url value="/userMng/lawyerMap/"></c:url>'
					+ phoneNo;
			$.ajax({
				url : urlBase,
				type : "get",
				dataType : 'json',
				success : function(text) {
					var o = mini.decode(text);
					if(o.FUWUTYPEID==1){
						o.FUWUTYPEID='婚姻家庭';
					}else if(o.FUWUTYPEID==2){
						o.FUWUTYPEID='交通事故';
					}else if(o.FUWUTYPEID==3){
						o.FUWUTYPEID='继承纠纷';
					}else if(o.FUWUTYPEID==4){
						o.FUWUTYPEID='刑事辩护';
					}else if(o.FUWUTYPEID==5){
						o.FUWUTYPEID='劳动仲载';
					}else if(o.FUWUTYPEID==6){
						o.FUWUTYPEID='消费权益';
					}else if(o.FUWUTYPEID==7){
						o.FUWUTYPEID='房屋拆迁';
					}else if(o.FUWUTYPEID==8){
						o.FUWUTYPEID='债权债务';
					}else{
						o.FUWUTYPEID='其他问题';
					}
					form.setData(o);
				},
				complete : function(XMLHttpRequest, textStatus) {
					if(messageid){
						mini.hideMessageBox(messageid);
					}
				},
				error : function(XMLHttpRequest, textStatus, errorThrown) {
				}
			});
		}
		
	</script>
</body>
</html>